package com.wc5818.wcSysUser.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author jobob
 * @since 2020-02-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class WcSysUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 小程序登录用的唯一标识
     */
    @TableField("openId")
    private String openId;

    /**
     * pc版登录用户名
     */
    private String username;

    /**
     * pc版登录密码
     */
    private String password;

    /**
     * 微信昵称
     */
    @TableField("nickName")
    private String nickName;

    private String inviter;

    private String code;

    private Long invitertime;

    /**
     * 微信头像
     */
    @TableField("avatarUrl")
    private String avatarUrl;

    private Integer forsysuserId;

    @TableField("createTime")
    private LocalDateTime createTime;

    @TableField("updateTime")
    private LocalDateTime updateTime;

    /**
     * 小程序注册的真实姓名
     */
    @TableField("realName")
    private String realName;

    /**
     * 微信返回的性别
     */
    private Integer gender;

    /**
     * 用户手机号
     */
    private String mobile;

    /**
     * 上家是谁
     */
    @TableField("parentUserId")
    private Integer parentUserId;

    /**
     * 造假数据基数，真实数据加上这个给用户显示
     */
    private Integer factor;


}
